package org.liuhy.line.rect
{
	import org.liuhy.node.focus.BottomNode;
	import org.liuhy.node.focus.LeftNode;
	import org.liuhy.node.focus.RightNode;
	import org.liuhy.node.focus.TopNode;
	
	public class FocusUtilsFactory
	{
		public function FocusUtilsFactory()
		{
		}
		public static  function getFocusUtils(p_focusNode:Object):Object{
			if( p_focusNode is LeftNode){
				return new LeftFocusUtils();
			}else if( p_focusNode is RightNode){
				return new RightFocusUtils();
			}else if( p_focusNode is TopNode){
				return new TopFocusUtils();			
			}else if( p_focusNode is BottomNode){
				return new BottomFocusUtils();
			}
			return null;
		}
	}
}